home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
C-Communications
/
(c)c10.d64
/
format load
< prev
next >
Wrap
Text File
|
2007-02-04
|
3KB
|
60 lines
FILE 'FORMAT LOAD
á
╧NE PROMPT DISPLAYED WHEN LOADING A FILE IS (╞╧╥═┴╘ ╘┼╪╘ ┘/╬):
╔F YOU TYPE (Y ╥┼╘╒╥╬) FOR YES THEN
ANOTHER PROMPT ASKING: ╞╧╥═┴╘á╘╧>10-80, IS DISPLAYED. ┼NTER A NUMBER BETWEEN 10
AND 80 FOLLOWED BY DEPRESSING THE ╥┼╘╒╥╬ ╦┼┘. ┘OUR ENTRY IS DISPLAYED ON SCREEN
AND THE LOAD BEGINS, BUT INSTEAD OF THE FILE BEING LOADED IN THE FORM IT WAS
SAVED, IT'S TEXT LINES WILL BE FORMATTED. ╘HE FORMATTING IS PERMENENT ONLY IF
YOU RESAVE THE FILE.
╘HANKS TO ╞ORMATTING, YOU CAN ENTER TEXT WITHOUT CONCERN FOR HOW
IT LOOKS ON SCREEN, IE, SOME LINES LONG AND OTHERS SHORT, BECAUSE THE ╞ORMAT
ROUTINE WILL RE-FORMAT TEXT LINE LENGTHS TO THE LENGTH YOU SPECIFIED.
╫ORDS WILL NOT BE BROKEN UP AND NONE OF
THE NEW LINES WILL BE LONGER THAN THE LENGTH SELECTED.
╞ORMATTING ╥ULES:
┬LANK LINES WITHIN A FILE ARE RETAINED HOWEVER IF A LINE ENDS WITH MORE
THAN ONE SPACE THE FORMAT ROUTINE WILL NOT REMOVE UNNECCESSARY SPACES.
╞ORMATTING IS NOT PROPORTIONAL SUCH AS WITH ┬╠╧├╦á╞╧╥═┴╘╘╔╬╟ WHERE SHORT
LINES ARE EXPANDED TO THE SPECIFIED LENGTH:
┼XAMPLE:
╞╧╥═┴╘ (10):
12345678901234567890á(╙├┴╠┼):
╘HE FOLLOWING LINEÆ:
╠OOK!áá╙EEáDICKáRUN.
╫ILL FORMAT AS BELOWÆ:
╠OOK!áá╙EEááááááááá:
DICK RUN.á :
╘HE FORMATTING ROUTINE FOLLOWS CERTAIN RULES IN DOING ITS WORK._
┼╬─╔╬╟áá╨╒╬├╘╒┴╘╔╧╬:
╔F A SENTENCE ENDS WITHOUT A PUNCTUATION MARK THEN IS GETS ONE SPACE ADDED
TO THE END AND THE NEXT SENTENCE IS APPENDED TO IT.
╙ENTENCES ENDING WITH:
1. (.) GET TWO SPACES ADDED ON
2. (,) GET ONE SPACE ADDED ON
3. (!) GET TWO SPACES ADDED ON
4. (?) GET TWO SPACES ADDED ON
5. (;) GET ONE SPACE ADDED ON
6. (:) FORCES A NEW PARAGAPH, COLON IS RETAINED
7. (_) FORCES A NEW PARAGRAPH; ARROW IS REMOVED
8. (-) CAUSES FIRST WORD OF NEXT SENTENCE TO BE COMBINED WITH LAST WORD;
THE DASH IS REMOVED.
9. ┴ SENTENCE BEGINNING WITH ATLEAST TWO UNSHIFTED SPACES WILL BEGIN A NEW
PARAGRAPH; LEADING SPACES ARE RETAINED.
á
╘HE FORMAT OPTION IS OFFERED WHEN LOADING A FILE, UPLOADING A FILE STORED
ON DISKETTE, READING A FILE USING THE HELP FUNCTION, AND WHEN LOADING A FILE
ON DISKETTE TO THE PRINTER.
╙UGGESTED ╒SES:
╘HE MOST COMMON USE IS TO LIMIT THE LENGTH OF TEXT LINES THAT ARE BEING
SENT TO AN ONLINE SERVICE THAT HAS A MAXIMUM LINE LENGTH FOR UPLOADED FILES.
╔F A FILE IS WRITTEN USING THE FULL 80 CHARACTER TEXT LINE, BUT IS TO BE
SENT TO AN ONLINE SERVICE THAT LIMITS UPLOADED LINE LENGTHS TO 32 CHARACTERS
THEN YOU WOULD SET FORMATTING AT 31 WHEN UPLOADING THAT FILE.
╔F YOUR FRIEND IS USING THE ╓IC-20'S "22 CHARACTER SCREEN" THEN YOU COULD
FORMAT YOUR UPLOAD TO HIS SCREEN SIZE AND MAKE READING YOUR LETTER EASIER.
á
╥EAD THE FILES "JOY-DRAW" & "/H" FOR MORE INFO ON FORMATTING TEXT.
á
EOF